<template>
  <div class="page-tip" v-if="text">
    <i class="a-icon-info tip-icon" ></i>
    {{ text }} 
  </div>
</template>

<script lang="ts" setup>
import { onMounted, Ref, ref, unref, defineProps, watch, defineExpose, defineEmits , computed} from 'vue';
// 定义组件接收的参数
const props = defineProps({
  text: String
});
</script>

<style lang="less" scoped>
 .page-tip {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #666;
  }
  .tip-icon {
    margin-right: 2px;
  }
</style>